home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / binutils.7 / binutils / binutils-2.7 / bfd / Makefile.in < prev    next >
Encoding:
Makefile  |  1996-07-04  |  36.4 KB  |  1,127 lines

  1. #    Makefile template for Configure for the BFD library.
  2. #    Copyright (C) 1990, 91, 92, 93, 94, 95, 1996
  3. #    Free Software Foundation, Inc.
  4. #    Written by Cygnus Support.
  5. # This file is part of BFD, the Binary File Descriptor library.
  6. # This program is free software; you can redistribute it and/or modify
  7. # it under the terms of the GNU General Public License as published by
  8. # the Free Software Foundation; either version 2 of the License, or
  9. # (at your option) any later version.
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. # GNU General Public License for more details.
  14. # You should have received a copy of the GNU General Public License
  15. # along with this program; if not, write to the Free Software
  16. # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  17.  
  18. VPATH = @srcdir@
  19. srcdir = @srcdir@
  20.  
  21. prefix = @prefix@
  22.  
  23. program_transform_name = @program_transform_name@
  24. exec_prefix = @exec_prefix@
  25. bindir = @bindir@
  26. libdir = @libdir@
  27.  
  28. datadir = @datadir@
  29. mandir = @mandir@
  30. man1dir = $(mandir)/man1
  31. man2dir = $(mandir)/man2
  32. man3dir = $(mandir)/man3
  33. man4dir = $(mandir)/man4
  34. man5dir = $(mandir)/man5
  35. man6dir = $(mandir)/man6
  36. man7dir = $(mandir)/man7
  37. man8dir = $(mandir)/man8
  38. man9dir = $(mandir)/man9
  39. infodir = @infodir@
  40. includedir = @includedir@
  41. oldincludedir =
  42. docdir = doc
  43.  
  44. SHELL = /bin/sh
  45.  
  46. INSTALL = @INSTALL@
  47. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  48. INSTALL_DATA = @INSTALL_DATA@
  49.  
  50. AR = @AR@
  51. AR_FLAGS = rc
  52. CC = @CC@
  53. CFLAGS = @CFLAGS@
  54. MAKEINFO = makeinfo
  55. RANLIB = @RANLIB@
  56.  
  57. ALLLIBS = @ALLLIBS@
  58.  
  59. PICFLAG = @PICFLAG@
  60. SHLIB = @SHLIB@
  61. SHLIB_CC = @SHLIB_CC@
  62. SHLIB_CFLAGS = @SHLIB_CFLAGS@
  63. COMMON_SHLIB = @COMMON_SHLIB@
  64. SHLINK = @SHLINK@
  65.  
  66. SONAME = lib`echo $(SHLIB) | sed -e 's/^lib//' | sed '$(program_transform_name)'`
  67.  
  68. CC_FOR_BUILD = @CC_FOR_BUILD@
  69.  
  70. INCDIR = $(srcdir)/../include
  71. CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
  72. DEP = mkdep
  73.  
  74. SUBDIRS = doc
  75.  
  76. TARGETLIB = libbfd.a
  77.  
  78. # bfd.h goes here, for now
  79. BFD_H = bfd.h
  80.  
  81. # Some of these files should be in BFD*_BACKENDS below, but some programs
  82. # won't link without them.  So, in order for some of the minimal-bfd
  83. # hacks to work, they're also included here for now.
  84. #    gdb: elf.o
  85. #    objdump: elf.o
  86. #
  87. # Also, Jim Kingdon notes:
  88. # Writing S-records should be included in all (or at least most)
  89. # *-*-coff, *-*-aout, etc., configurations, because people will want to
  90. # be able to use objcopy to create S-records.  (S-records are not useful
  91. # for the debugger, so if you are downloading things as S-records you
  92. # need two copies of the executable, one to download and one for the
  93. # debugger).
  94. BFD_LIBS = \
  95.     archive.o archures.o bfd.o cache.o coffgen.o corefile.o \
  96.     format.o init.o libbfd.o opncls.o reloc.o \
  97.     section.o syms.o targets.o hash.o linker.o \
  98.     elf.o srec.o binary.o tekhex.o ihex.o stabs.o stab-syms.o
  99.  
  100. BFD_LIBS_CFILES = \
  101.     archive.c archures.c bfd.c cache.c coffgen.c corefile.c \
  102.     format.c init.c libbfd.c opncls.c reloc.c \
  103.     section.c syms.c targets.c hash.c linker.c \
  104.     elf.c srec.c binary.c tekhex.c ihex.c stabs.c stab-syms.c
  105.  
  106. # This list is alphabetized to make it easier to keep in sync
  107. # with the decls and initializer in archures.c.
  108. ALL_MACHINES = \
  109.     cpu-a29k.o \
  110.     cpu-alpha.o \
  111.     cpu-arm.o \
  112.     cpu-h8300.o \
  113.     cpu-h8500.o \
  114.     cpu-hppa.o \
  115.     cpu-i386.o \
  116.     cpu-i860.o \
  117.     cpu-i960.o \
  118.     cpu-m68k.o \
  119.     cpu-m88k.o \
  120.     cpu-mips.o \
  121.     cpu-ns32k.o \
  122.     cpu-powerpc.o \
  123.     cpu-rs6000.o \
  124.     cpu-sh.o \
  125.     cpu-sparc.o \
  126.     cpu-vax.o \
  127.     cpu-we32k.o \
  128.     cpu-w65.o \
  129.     cpu-z8k.o
  130.  
  131. ALL_MACHINES_CFILES = \
  132.     cpu-a29k.c \
  133.     cpu-alpha.c \
  134.     cpu-arm.c \
  135.     cpu-h8300.c \
  136.     cpu-h8500.c \
  137.     cpu-hppa.c \
  138.     cpu-i386.c \
  139.     cpu-i860.c \
  140.     cpu-i960.c \
  141.     cpu-m68k.c \
  142.     cpu-m88k.c \
  143.     cpu-mips.c \
  144.     cpu-ns32k.c \
  145.     cpu-powerpc.c \
  146.     cpu-rs6000.c \
  147.     cpu-sh.c \
  148.     cpu-sparc.c \
  149.     cpu-vax.c \
  150.     cpu-we32k.c \
  151.     cpu-w65.c \
  152.     cpu-z8k.c
  153.  
  154. # The .o files needed by all of the 32 bit vectors that are configured into
  155. # target_vector in targets.c if configured with --enable-targets=all.
  156. BFD32_BACKENDS = \
  157.     aout-adobe.o \
  158.     aout-ns32k.o \
  159.     aout0.o \
  160.     aout32.o \
  161.     bout.o \
  162.     cf-i386lynx.o \
  163.     cf-m68klynx.o \
  164.     cf-sparclynx.o \
  165.     coff-a29k.o \
  166.     coff-apollo.o \
  167.     coff-arm.o \
  168.     coff-aux.o \
  169.     coff-h8300.o \
  170.     coff-h8500.o \
  171.     coff-i386.o \
  172.     coff-go32.o \
  173.     coff-i860.o \
  174.     coff-i960.o \
  175.     coff-m68k.o \
  176.     coff-m88k.o \
  177.     coff-mips.o \
  178.     coff-pmac.o \
  179.     coff-rs6000.o \
  180.     coff-sh.o \
  181.     coff-sparc.o \
  182.     coff-u68k.o \
  183.     coff-we32k.o \
  184.     coff-w65.o \
  185.     coff-z8k.o \
  186.     cofflink.o \
  187.     ecoff.o \
  188.     ecofflink.o \
  189.     elf32-gen.o \
  190.     elf32-hppa.o \
  191.     elf32-i386.o \
  192.     elf32-i860.o \
  193.     elf32-m68k.o \
  194.     elf32-m88k.o \
  195.     elf32-mips.o \
  196.     elf32-ppc.o \
  197.     elf32-sparc.o \
  198.     elf32.o \
  199.     elflink.o \
  200.     hp300hpux.o \
  201.     som.o \
  202.     i386aout.o \
  203.     i386bsd.o \
  204.     i386freebsd.o \
  205.     i386linux.o \
  206.     i386lynx.o \
  207.     i386msdos.o \
  208.     i386netbsd.o \
  209.     i386mach3.o \
  210.     i386os9k.o \
  211.     ieee.o \
  212.     m68klinux.o \
  213.     m68klynx.o \
  214.     m68knetbsd.o \
  215.     m88kmach3.o \
  216.     mipsbsd.o \
  217.     newsos3.o \
  218.     nlm.o \
  219.     nlm32-i386.o \
  220.     nlm32-sparc.o \
  221.     nlm32-ppc.o \
  222.     nlm32.o \
  223.     ns32knetbsd.o \
  224.     oasys.o \
  225.     pc532-mach.o \
  226.     pe-arm.o \
  227.     pei-arm.o \
  228.     pe-i386.o \
  229.     pei-i386.o \
  230.     pe-ppc.o \
  231.     pei-ppc.o \
  232.     ppcboot.o \
  233.     reloc16.o \
  234.     sparclynx.o \
  235.     sparcnetbsd.o \
  236.     sunos.o \
  237.     tekhex.o \
  238.     versados.o \
  239.     xcofflink.o
  240.  
  241. BFD32_BACKENDS_CFILES = \
  242.     aout-adobe.c \
  243.     aout-ns32k.c \
  244.     aout0.c \
  245.     aout32.c \
  246.     bout.c \
  247.     cf-i386lynx.c \
  248.     cf-m68klynx.c \
  249.     cf-sparclynx.c \
  250.     coff-a29k.c \
  251.     coff-apollo.c \
  252.     coff-arm.c \
  253.     coff-aux.c \
  254.     coff-h8300.c \
  255.     coff-h8500.c \
  256.     coff-i386.c \
  257.     coff-i860.c \
  258.     coff-go32.c \
  259.     coff-i960.c \
  260.     coff-m68k.c \
  261.     coff-m88k.c \
  262.     coff-mips.c \
  263.     coff-pmac.c \
  264.     coff-rs6000.c \
  265.     coff-sh.c \
  266.     coff-sparc.c \
  267.     coff-u68k.c \
  268.     coff-we32k.c \
  269.     coff-w65.c \
  270.     coff-z8k.c \
  271.     cofflink.c \
  272.     ecoff.c \
  273.     ecofflink.c \
  274.     elf32-gen.c \
  275.     elf32-hppa.c \
  276.     elf32-i386.c \
  277.     elf32-i860.c \
  278.     elf32-m68k.c \
  279.     elf32-m88k.c \
  280.     elf32-mips.c \
  281.     elf32-ppc.c \
  282.     elf32-sparc.c \
  283.     elf32.c \
  284.     elflink.c \
  285.     hp300hpux.c \
  286.     som.c \
  287.     i386aout.c \
  288.     i386bsd.c \
  289.     i386freebsd.c \
  290.     i386linux.c \
  291.     i386lynx.c \
  292.     i386msdos.c \
  293.     i386netbsd.c \
  294.     i386mach3.c \
  295.     i386os9k.c \
  296.     ieee.c \
  297.     m68klinux.c \
  298.     m68klynx.c \
  299.     m68knetbsd.c \
  300.     m88kmach3.c \
  301.     mipsbsd.c \
  302.     newsos3.c \
  303.     nlm.c \
  304.     nlm32-i386.c \
  305.     nlm32-sparc.c \
  306.     nlm32-ppc.c \
  307.     nlm32.c \
  308.     ns32knetbsd.c \
  309.     oasys.c \
  310.     pc532-mach.c \
  311.     pe-arm.c \
  312.     pei-arm.c \
  313.     pe-i386.c \
  314.     pei-i386.c \
  315.     pe-ppc.c \
  316.     pei-ppc.c \
  317.     ppcboot.c \
  318.     reloc16.c \
  319.     sparclynx.c \
  320.     sparcnetbsd.c \
  321.     sunos.c \
  322.     tekhex.c \
  323.     versados.c \
  324.     xcofflink.c
  325.  
  326. # The .o files needed by all of the 64 bit vectors that are configured into
  327. # target_vector in targets.c if configured with --enable-targets=all
  328. # and --enable-64-bit-bfd.
  329. BFD64_BACKENDS = \
  330.     aout64.o \
  331.     coff-alpha.o \
  332.     demo64.o \
  333.     elf64-alpha.o \
  334.     elf64-gen.o \
  335.     elf64-mips.o \
  336.     elf64-sparc.o \
  337.     elf64.o \
  338.     evax-alpha.o \
  339.     evax-egsd.o \
  340.     evax-etir.o \
  341.     evax-emh.o \
  342.     evax-misc.o \
  343.     nlm32-alpha.o \
  344.     nlm64.o
  345.  
  346. BFD64_BACKENDS_CFILES = \
  347.     aout64.c \
  348.     coff-alpha.c \
  349.     demo64.c \
  350.     elf64-alpha.c \
  351.     elf64-gen.c \
  352.     elf64-mips.c \
  353.     elf64-sparc.c \
  354.     elf64.c \
  355.     evax-alpha.c \
  356.     evax-egsd.c \
  357.     evax-etir.c \
  358.     evax-emh.c \
  359.     evax-misc.c \
  360.     nlm32-alpha.c \
  361.     nlm64.c
  362.  
  363. OPTIONAL_BACKENDS = \
  364.     aix386-core.o \
  365.     hpux-core.o \
  366.     irix-core.o \
  367.     lynx-core.o \
  368.     osf-core.o \
  369.     trad-core.o \
  370.     cisco-core.o
  371.  
  372. OPTIONAL_BACKENDS_CFILES = \
  373.     aix386-core.c \
  374.     hpux-core.c \
  375.     irix-core.c \
  376.     lynx-core.c \
  377.     osf-core.c \
  378.     trad-core.c \
  379.     cisco-core.c
  380.  
  381. # These are defined by configure.in:
  382. WORDSIZE = @wordsize@
  383. ALL_BACKENDS = @all_backends@
  384. BFD_BACKENDS = @bfd_backends@
  385. BFD_MACHINES = @bfd_machines@
  386. TDEFAULTS = @tdefaults@
  387.  
  388. all:
  389.  
  390. FLAGS_TO_PASS = \
  391.     "prefix=$(prefix)" \
  392.     "exec_prefix=$(exec_prefix)" \
  393.     "against=$(against)" \
  394.     "AR=$(AR)" \
  395.     "AR_FLAGS=$(AR_FLAGS)" \
  396.     "CC=$(CC)" \
  397.     "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
  398.     "CFLAGS=$(CFLAGS)" \
  399.     "RANLIB=$(RANLIB)" \
  400.     "MAKEINFO=$(MAKEINFO)" \
  401.     "INSTALL=$(INSTALL)" \
  402.     "INSTALL_DATA=$(INSTALL_DATA)" \
  403.     "INSTALL_PROGRAM=$(INSTALL_PROGRAM)"
  404.  
  405. ALL_CFLAGS=@HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) $(CFLAGS)
  406. .c.o:
  407.     if [ -n "$(PICFLAG)" ]; then \
  408.       $(CC) -c $(PICFLAG) $(ALL_CFLAGS) $< -o pic/$@; \
  409.     else true; fi
  410.     $(CC) -c $(ALL_CFLAGS) $<
  411.  
  412. bfd_libs_here =
  413. all_machines_here =
  414. bfd32_backends_here =
  415. core_files_here =
  416. configs_not_included_in_all_targets_option_here =
  417.  
  418. # C source files that correspond to .o's.
  419. CFILES = \
  420.     $(BFD_LIBS_CFILES) \
  421.     $(ALL_MACHINES_CFILES) \
  422.     $(BFD32_BACKENDS_CFILES) \
  423.     $(BFD64_BACKENDS_CFILES) \
  424.     $(OPTIONAL_BACKENDS_CFILES) \
  425.     i386dynix.c hp300bsd.c
  426.  
  427. HFILES = aout-target.h aoutf1.h aoutx.h coffcode.h \
  428.      coffswap.h ecoffswap.h elf32-hppa.h elf32-target.h elf64-target.h \
  429.      elfcode.h evax.h hppa_stubs.h libaout.h libbfd.h \
  430.      libcoff.h libecoff.h elf-bfd.h libhppa.h libieee.h libnlm.h \
  431.      liboasys.h nlm-target.h nlmcode.h som.h genlink.h netbsd.h ns32k.h
  432.  
  433. all: Makefile $(ALLLIBS) @PICLIST@
  434.     @$(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  435.  
  436. .NOEXPORT:
  437. MAKEOVERRIDES=
  438.  
  439. .PHONY: check installcheck
  440. check:
  441.     @echo No testsuites exist for the BFD library. Nothing to check.
  442.  
  443. installcheck:
  444.     @echo No testsuites exist for the BFD library. Nothing to check.
  445.  
  446. info dvi : force
  447.     @$(MAKE) subdir_do DO=$@ "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  448.  
  449. clean-info:
  450.     @$(MAKE) subdir_do DO=clean-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  451.  
  452. install-info: force
  453.     @$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  454.  
  455. diststuff: info
  456.  
  457. # Various kinds of .o files to put in libbfd.a:
  458. # BFD_LIBS    Generic routines, always needed.
  459. # BFD_BACKENDS    Routines the configured targets need.
  460. # BFD_MACHINES    Architecture-specific routines the configured targets need.
  461. # COREFILE    Core file routines for a native configuration
  462. OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) @COREFILE@
  463.  
  464. stamp-ofiles: Makefile
  465.     rm -f tofiles
  466.     f=""; \
  467.     for i in $(OFILES) ; do \
  468.       case " $$f " in \
  469.         *" $$i "*) ;; \
  470.         *) f="$$f $$i" ;; \
  471.       esac ; \
  472.     done ; \
  473.     echo $$f > tofiles
  474.     $(srcdir)/../move-if-change tofiles ofiles
  475.     touch stamp-ofiles
  476.  
  477. ofiles: stamp-ofiles ; @true
  478.  
  479. $(TARGETLIB): $(OFILES) ofiles
  480.     rm -f $(TARGETLIB)
  481.     @echo ofiles = `cat ofiles`
  482.     $(AR) $(AR_FLAGS) $(TARGETLIB) `cat ofiles`
  483.     $(RANLIB) $(TARGETLIB)
  484.  
  485. stamp-piclist: ofiles
  486.     rm -f tpiclist
  487.     if [ -n "$(PICFLAG)" ]; then \
  488.       sed -e 's,\([^ ][^ ]*\),pic/\1,g' ofiles > tpiclist; \
  489.     else \
  490.       cp ofiles tpiclist; \
  491.     fi
  492.     $(srcdir)/../move-if-change tpiclist piclist
  493.     touch stamp-piclist
  494.  
  495. piclist: stamp-piclist ; @true
  496.  
  497. $(SHLIB): stamp-picdir $(OFILES) piclist
  498.     rm -f $(SHLIB)
  499.     $(SHLIB_CC) $(SHLIB_CFLAGS) -o $(SHLIB) `cat piclist`
  500.  
  501. # We make a link from libbfd.so to libbfd.so.VERSION for linking, and
  502. # also a link from libTARGET-bfd.so.VERSION for running.
  503. $(SHLINK): $(SHLIB)
  504.     ts=lib`echo $(SHLIB) | sed -e 's/^lib//' | sed -e '$(program_transform_name)'`; \
  505.     if [ "$$ts" != "$(SHLIB)" ]; then \
  506.       rm -f $$ts; \
  507.       ln -sf $(SHLIB) $$ts; \
  508.     else true; fi
  509.     rm -f $(SHLINK)
  510.     ln -sf $(SHLIB) $(SHLINK)
  511.  
  512. # This target creates libTARGET-bfd.so.VERSION as a symlink to
  513. # libbfd.so.VERSION.  It is used on SunOS, which does not have SONAME.
  514. stamp-tshlink: $(SHLIB)
  515.     tf=lib`echo $(SHLIB) | sed -e 's/^lib//' | sed '$(program_transform_name)'`; \
  516.     if [ "$$tf" != "$(SHLIB)" ]; then \
  517.       rm -f $$tf; \
  518.       ln -sf $(SHLIB) $$tf; \
  519.     else true; fi
  520.     touch stamp-tshlink
  521.  
  522. # When compiling archures.c and targets.c, supply the default target
  523. # info from configure.
  524.  
  525. targets.o: targets.c Makefile
  526.     if [ -n "$(PICFLAG)" ]; then \
  527.       $(CC) -c $(PICFLAG) $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/targets.c -o pic/targets.o; \
  528.     else true; fi
  529.     $(CC) -c $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/targets.c
  530.  
  531. archures.o: archures.c Makefile
  532.     if [ -n "$(PICFLAG)" ]; then \
  533.       $(CC) -c $(PICFLAG) $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/archures.c -o pic/archures.o; \
  534.     else true; fi
  535.     $(CC) -c $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/archures.c
  536.  
  537. elf32-target.h : elfxx-target.h
  538.     rm -f elf32-target.h
  539.     sed -e s/NN/32/g < $(srcdir)/elfxx-target.h > elf32-target.new
  540.     mv -f elf32-target.new elf32-target.h
  541.  
  542. elf64-target.h : elfxx-target.h
  543.     rm -f elf64-target.h
  544.     sed -e s/NN/64/g < $(srcdir)/elfxx-target.h > elf64-target.new
  545.     mv -f elf64-target.new elf64-target.h
  546.  
  547. subdir_do: force
  548.     @for i in $(DODIRS); do \
  549.         if [ -d ./$$i ] ; then \
  550.             if (cd ./$$i; \
  551.                 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
  552.             else exit 1 ; fi ; \
  553.         else true ; fi ; \
  554.     done
  555.  
  556. tags etags: TAGS
  557.  
  558. TAGS: force
  559.     etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c
  560.  
  561. do_mostlyclean:
  562.     rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout config.log \
  563.         pic/*.o
  564. do_clean: do_mostlyclean
  565.     rm -f libbfd.a TAGS bfd.h stmp-bfd.h ofiles stamp-ofiles \
  566.         elf32-target.h elf64-target.h $(SHLIB) $(SHLINK) \
  567.         piclist stamp-piclist
  568. do_distclean: do_clean
  569.     rm -f Makefile config.status config.cache config.h stamp-h
  570.     rm -rf pic stamp-picdir
  571. do_maintainer_clean: do_distclean
  572.     rm -f $(srcdir)/bfd-in2.h $(srcdir)/libbfd.h $(srcdir)/libcoff.h
  573.  
  574. mostlyclean: do_mostlyclean
  575.     $(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  576. clean: do_clean
  577.     $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  578. distclean:
  579.     $(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  580.     $(MAKE) do_distclean
  581. clobber maintainer-clean realclean:
  582.     @echo "This command is intended for maintainers to use;"
  583.     @echo "it deletes files that may require special tools to rebuild."
  584.     $(MAKE) subdir_do DO=maintainer-clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  585.     $(MAKE) do_maintainer_clean
  586.  
  587. BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/obstack.h
  588. LOCAL_H_DEPS= libbfd.h sysdep.h config.h
  589. $(BFD_LIBS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
  590. $(BFD_MACHINES): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
  591. $(BFD_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
  592. $(OPTIONAL_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
  593.  
  594. # Get around a Sun Make bug in SunOS 4.1.1 with VPATH
  595. cpu-i386.o:cpu-i386.c
  596. cpu-z8k.o: cpu-z8k.c
  597. cpu-h8500.o: cpu-h8500.c
  598. cpu-we32k.o: cpu-we32k.c
  599.  
  600. saber:
  601.     #suppress 65 on bfd_map_over_sections 
  602.     #suppress 66 on bfd_map_over_sections 
  603.     #suppress 67 on bfd_map_over_sections 
  604.     #suppress 68 on bfd_map_over_sections 
  605.     #suppress 69 on bfd_map_over_sections 
  606.     #suppress 70 on bfd_map_over_sections 
  607.     #suppress 110 in bfd_map_over_sections 
  608.     #suppress 112 in bfd_map_over_sections 
  609.     #suppress 530 
  610.     #suppress 590 in swap_exec_header 
  611.     #suppress 590 in _bfd_dummy_core_file_matches_executable_p 
  612.     #suppress 590 in bfd_dont_truncate_arname
  613.     #suppress 590 on ignore 
  614.     #suppress 590 on abfd 
  615.     #setopt load_flags $(CFLAGS)
  616.     #load $(CFILES)
  617.  
  618.  
  619. #-----------------------------------------------------------------------------
  620. #        'STANDARD' GNU/960 TARGETS BELOW THIS POINT
  621. #
  622. # 'VERSION' file must be present and contain a string of the form "x.y"
  623. #-----------------------------------------------------------------------------
  624.  
  625. ver960.c: FORCE
  626.     rm -f ver960.c
  627.     echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c
  628.  
  629.  
  630. # This target should be invoked before building a new release.
  631. # 'VERSION' file must be present and contain a string of the form "x.y"
  632. #
  633. roll:
  634.     @V=`cat VERSION`        ; \
  635.     MAJ=`sed 's/\..*//' VERSION`    ; \
  636.     MIN=`sed 's/.*\.//' VERSION`    ; \
  637.     V=$$MAJ.`expr $$MIN + 1`    ; \
  638.     rm -f VERSION            ; \
  639.     echo $$V >VERSION        ; \
  640.     echo Version $$V
  641.  
  642. # Dummy target to force execution of dependent targets.
  643. #
  644. force:
  645.  
  646. install: $(ALLLIBS)
  647.     for f in $(ALLLIBS); do \
  648.       if [ "$$f" = "stamp-tshlink" ]; then \
  649.         continue; \
  650.       fi; \
  651.       tf=lib`echo $$f | sed -e 's/^lib//' | sed '$(program_transform_name)'`; \
  652.       rm -f $(libdir)/$$tf; \
  653.       if [ "$$f" = "$(SHLINK)" ]; then \
  654.         ts=lib`echo $(SHLIB) | sed -e 's/^lib//' | sed '$(program_transform_name)'`; \
  655.         ln -sf $$ts $(libdir)/$$tf; \
  656.       elif [ "$$f" = "$(SHLIB)" ]; then \
  657.         $(INSTALL_PROGRAM) $$f $(libdir)/$$tf; \
  658.       else \
  659.         $(INSTALL_DATA) $$f $(libdir)/$$tf; \
  660.         $(RANLIB) $(libdir)/$$tf; \
  661.         chmod a-x $(libdir)/$$tf; \
  662.       fi; \
  663.     done
  664. # Install BFD include file, and others that it needs.  Install them
  665. # both in GCC's include directory, and in the system include dir
  666. # if configured as $(oldincludedir) -- which it usually isnt.
  667.     $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
  668.     $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
  669.     $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(includedir)/bfdlink.h
  670.     $(INSTALL_DATA) $(INCDIR)/obstack.h $(includedir)/obstack.h
  671.     -if test -z "$(oldincludedir)"; then true; else \
  672.     test -d $(oldincludedir) || mkdir $(oldincludedir); \
  673.     $(INSTALL_DATA) $(BFD_H) $(oldincludedir)/bfd.h; \
  674.     $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h; \
  675.     $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(oldincludedir)/bfdlink.h; \
  676.     $(INSTALL_DATA) $(INCDIR)/obstack.h $(oldincludedir)/obstack.h; \
  677.     $(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS); \
  678.     fi
  679.  
  680. Makefile: Makefile.in config.status
  681.     CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
  682.  
  683. config.h: stamp-h ; @true
  684. stamp-h: config.in config.status
  685.     CONFIG_FILES= CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.status
  686.  
  687. config.status: configure configure.host config.bfd VERSION
  688.     $(SHELL) config.status --recheck
  689.  
  690. # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
  691. .dep: dep.sed $(CFILES) $(HFILES) bfd.h
  692.     rm -f .dep1
  693.     $(MAKE) DEP=$(DEP) .dep1
  694.     sed -f dep.sed <.dep1 >.dep
  695.  
  696. # This rule really wants a mkdep that runs "gcc -MM".
  697. # The NetBSD mkdep overwrites any existing file contents, and doesn't insert
  698. # the "DO NOT DELETE" line.
  699. # Other mkdep versions require a file that already exists, and do insert it.
  700. # Hence the weirdness....
  701. .dep1: $(CFILES)
  702.     rm -f .dep2 .dep2a
  703.     echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
  704.     echo > .dep2a
  705.     $(DEP) -f .dep2a $(ALL_CFLAGS) $?
  706.     sed -e '/DO NOT DELETE/d' -e '/^$$/d' < .dep2a >> .dep2
  707.     rm -f .dep2a
  708.     $(srcdir)/../move-if-change .dep2 .dep1
  709.  
  710. dep.sed: dep-in.sed config.status
  711.     sed <$(srcdir)/dep-in.sed >dep.sed    \
  712.         -e 's!@BFD_H@!$(BFD_H)!'    \
  713.         -e 's!@INCDIR@!$(INCDIR)!'    \
  714.         -e 's!@SRCDIR@!$(srcdir)!'
  715.  
  716. dep: .dep
  717.     sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
  718.     cat .dep >> tmp-Makefile
  719.     $(srcdir)/../move-if-change tmp-Makefile Makefile
  720.  
  721. dep-in: .dep
  722.     sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
  723.     cat .dep >> tmp-Makefile.in
  724.     $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
  725.  
  726. host-aout.o: Makefile
  727.  
  728. # The following program can be used to generate a simple config file
  729. # which can be folded into an h-XXX file for a new host, with some editing.
  730. aout-params.h: gen-aout
  731.     ./gen-aout host > aout-params.h
  732. gen-aout: $(srcdir)/gen-aout.c Makefile
  733.     $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
  734.  
  735. BFDIN_H= $(srcdir)/bfd-in2.h
  736.  
  737. $(BFD_H): stmp-bfd.h ; @true
  738.  
  739. stmp-bfd.h : $(srcdir)/bfd-in2.h Makefile
  740.     rm -f bfd.h-new
  741.     sed -e 's/@WORDSIZE@/$(WORDSIZE)/' \
  742.         -e "s/@VERSION@/`cat $(srcdir)/VERSION`/" \
  743.         -e 's/@BFD_HOST_64BIT_LONG@/@HOST_64BIT_LONG@/' \
  744.         < $(srcdir)/bfd-in2.h \
  745.         > bfd.h-new
  746.     $(srcdir)/../move-if-change bfd.h-new $(BFD_H)
  747.     touch stmp-bfd.h
  748.  
  749. # Could really use a "copy-if-change"...
  750. headers:
  751.     (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
  752.     cp $(docdir)/bfd.h bfd-in2.h-new
  753.     $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
  754.     cp $(docdir)/libbfd.h libbfd.h-new
  755.     $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
  756.     cp $(docdir)/libcoff.h libcoff.h-new
  757.     $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
  758.  
  759. # The rules for the generated header files are here so that people can
  760. # type `make bfd-in2.h' if they remove it.  They are not run by default.
  761. $(srcdir)/bfd-in2.h:
  762.     (cd $(docdir); $(MAKE) bfd.h $(FLAGS_TO_PASS))
  763.     cp $(docdir)/bfd.h bfd-in2.h-new
  764.     $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
  765. $(srcdir)/libbfd.h:
  766.     (cd $(docdir); $(MAKE) libbfd.h $(FLAGS_TO_PASS))
  767.     cp $(docdir)/libbfd.h libbfd.h-new
  768.     $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
  769. $(srcdir)/libcoff.h:
  770.     (cd $(docdir); $(MAKE) libcoff.h $(FLAGS_TO_PASS))
  771.     cp $(docdir)/libcoff.h libcoff.h-new
  772.     $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
  773.  
  774. bfd.info:
  775.     (cd $(docdir); $(MAKE) bfd.info $(FLAGS_TO_PASS))
  776.  
  777. bfd.dvi:
  778.     (cd $(docdir); $(MAKE) bfd.dvi $(FLAGS_TO_PASS))
  779.  
  780. bfd.ps: 
  781.     (cd $(docdir); $(MAKE) bfd.ps $(FLAGS_TO_PASS))
  782.  
  783.  
  784. $(OFILES): stamp-picdir
  785.  
  786. stamp-picdir:
  787.     if [ -n "$(PICFLAG)" ] && [ ! -d pic ]; then \
  788.       mkdir pic; \
  789.     else true; fi
  790.     touch stamp-picdir
  791.  
  792. # What appears below is generated by a hacked mkdep using gcc -MM.
  793.  
  794. # DO NOT DELETE THIS LINE -- mkdep uses it.
  795. # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
  796. archive.o: archive.c $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h
  797. archures.o: archures.c
  798. bfd.o: bfd.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
  799.   $(INCDIR)/coff/sym.h libcoff.h libecoff.h $(INCDIR)/coff/ecoff.h \
  800.   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
  801.   $(INCDIR)/elf/external.h
  802. cache.o: cache.c
  803. coffgen.o: coffgen.c $(INCDIR)/coff/internal.h libcoff.h \
  804.   $(INCDIR)/bfdlink.h
  805. corefile.o: corefile.c
  806. format.o: format.c
  807. init.o: init.c
  808. libbfd.o: libbfd.c
  809. opncls.o: opncls.c
  810. reloc.o: reloc.c $(INCDIR)/bfdlink.h
  811. section.o: section.c
  812. syms.o: syms.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/stab_gnu.h \
  813.   $(INCDIR)/aout/stab.def
  814. targets.o: targets.c
  815. hash.o: hash.c
  816. linker.o: linker.c $(INCDIR)/bfdlink.h genlink.h
  817. elf.o: elf.c $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
  818.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
  819. srec.o: srec.c $(INCDIR)/libiberty.h
  820. binary.o: binary.c
  821. tekhex.o: tekhex.c $(INCDIR)/libiberty.h
  822. ihex.o: ihex.c $(INCDIR)/libiberty.h
  823. stabs.o: stabs.c $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
  824. stab-syms.o: stab-syms.c libaout.h $(INCDIR)/bfdlink.h \
  825.   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab.def
  826. cpu-a29k.o: cpu-a29k.c
  827. cpu-alpha.o: cpu-alpha.c
  828. cpu-arm.o: cpu-arm.c
  829. cpu-h8300.o: cpu-h8300.c
  830. cpu-h8500.o: cpu-h8500.c
  831. cpu-hppa.o: cpu-hppa.c
  832. cpu-i386.o: cpu-i386.c
  833. cpu-i860.o: cpu-i860.c
  834. cpu-i960.o: cpu-i960.c
  835. cpu-m68k.o: cpu-m68k.c
  836. cpu-m88k.o: cpu-m88k.c
  837. cpu-mips.o: cpu-mips.c
  838. cpu-ns32k.o: cpu-ns32k.c ns32k.h
  839. cpu-powerpc.o: cpu-powerpc.c
  840. cpu-rs6000.o: cpu-rs6000.c
  841. cpu-sh.o: cpu-sh.c
  842. cpu-sparc.o: cpu-sparc.c
  843. cpu-vax.o: cpu-vax.c
  844. cpu-we32k.o: cpu-we32k.c
  845. cpu-w65.o: cpu-w65.c
  846. cpu-z8k.o: cpu-z8k.c
  847. aout-adobe.o: aout-adobe.c $(INCDIR)/aout/adobe.h $(INCDIR)/aout/stab_gnu.h \
  848.   $(INCDIR)/aout/stab.def libaout.h $(INCDIR)/bfdlink.h
  849. aout-ns32k.o: aout-ns32k.c $(INCDIR)/aout/aout64.h \
  850.   ns32k.h libaout.h $(INCDIR)/bfdlink.h
  851. aout0.o: aout0.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
  852.   $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  853.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
  854. aout32.o: aout32.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
  855.   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
  856.   $(INCDIR)/aout/ar.h
  857. bout.o: bout.c $(INCDIR)/bfdlink.h genlink.h $(INCDIR)/bout.h \
  858.   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
  859. cf-i386lynx.o: cf-i386lynx.c coff-i386.c $(INCDIR)/coff/i386.h \
  860.   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
  861.   coffcode.h coffswap.h
  862. cf-m68klynx.o: cf-m68klynx.c coff-m68k.c $(INCDIR)/coff/m68k.h \
  863.   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
  864.   coffcode.h coffswap.h
  865. cf-sparclynx.o: cf-sparclynx.c coff-sparc.c $(INCDIR)/coff/sparc.h \
  866.   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
  867.   coffcode.h coffswap.h
  868. coff-a29k.o: coff-a29k.c $(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h \
  869.   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
  870. coff-apollo.o: coff-apollo.c $(INCDIR)/coff/apollo.h \
  871.   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
  872.   coffcode.h coffswap.h
  873. coff-arm.o: coff-arm.c $(INCDIR)/coff/arm.h $(INCDIR)/coff/internal.h \
  874.   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
  875. coff-aux.o: coff-aux.c $(INCDIR)/coff/aux-coff.h $(INCDIR)/coff/internal.h \
  876.   $(INCDIR)/coff/m68k.h coff-m68k.c libcoff.h $(INCDIR)/bfdlink.h \
  877.   coffcode.h coffswap.h
  878. coff-h8300.o: coff-h8300.c $(INCDIR)/bfdlink.h genlink.h \
  879.   $(INCDIR)/coff/h8300.h $(INCDIR)/coff/internal.h libcoff.h \
  880.   coffcode.h coffswap.h
  881. coff-h8500.o: coff-h8500.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/h8500.h \
  882.   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
  883. coff-i386.o: coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
  884.   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
  885. coff-i860.o: coff-i860.c $(INCDIR)/coff/i860.h $(INCDIR)/coff/internal.h \
  886.   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
  887. coff-go32.o: coff-go32.c coff-i386.c $(INCDIR)/coff/i386.h \
  888.   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
  889.   coffcode.h coffswap.h
  890. coff-i960.o: coff-i960.c $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h \
  891.   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
  892. coff-m68k.o: coff-m68k.c $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \
  893.   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
  894. coff-m88k.o: coff-m88k.c $(INCDIR)/coff/m88k.h $(INCDIR)/coff/internal.h \
  895.   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
  896. coff-mips.o: coff-mips.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
  897.   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
  898.   $(INCDIR)/coff/mips.h libcoff.h libecoff.h coffswap.h \
  899.   ecoffswap.h
  900. coff-pmac.o: coff-pmac.c coff-rs6000.c $(INCDIR)/coff/internal.h \
  901.   $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \
  902.   coffcode.h coffswap.h
  903. coff-rs6000.o: coff-rs6000.c $(INCDIR)/coff/internal.h \
  904.   $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \
  905.   coffcode.h coffswap.h
  906. coff-sh.o: coff-sh.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \
  907.   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
  908. coff-sparc.o: coff-sparc.c $(INCDIR)/coff/sparc.h $(INCDIR)/coff/internal.h \
  909.   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
  910. coff-u68k.o: coff-u68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \
  911.   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
  912.   coffcode.h coffswap.h
  913. coff-we32k.o: coff-we32k.c $(INCDIR)/coff/we32k.h $(INCDIR)/coff/internal.h \
  914.   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
  915. coff-w65.o: coff-w65.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/w65.h \
  916.   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
  917. coff-z8k.o: coff-z8k.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/z8k.h \
  918.   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
  919. cofflink.o: cofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
  920.   libcoff.h
  921. ecoff.o: ecoff.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/ar.h \
  922.   $(INCDIR)/aout/ranlib.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
  923.   libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/coff/internal.h \
  924.   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
  925.   libcoff.h libecoff.h
  926. ecofflink.o: ecofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/stab_gnu.h \
  927.   $(INCDIR)/aout/stab.def $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \
  928.   $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h
  929. elf32-gen.o: elf32-gen.c elf-bfd.h $(INCDIR)/elf/common.h \
  930.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
  931.   elf32-target.h
  932. elf32-hppa.o: elf32-hppa.c $(INCDIR)/bfdlink.h elf-bfd.h \
  933.   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
  934.   elf32-hppa.h libhppa.h $(INCDIR)/elf/hppa.h hppa_stubs.h \
  935.   elf32-target.h
  936. elf32-i386.o: elf32-i386.c $(INCDIR)/bfdlink.h elf-bfd.h \
  937.   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
  938.   elf32-target.h
  939. elf32-i860.o: elf32-i860.c elf-bfd.h $(INCDIR)/elf/common.h \
  940.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
  941.   elf32-target.h
  942. elf32-m68k.o: elf32-m68k.c $(INCDIR)/bfdlink.h elf-bfd.h \
  943.   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
  944.   elf32-target.h
  945. elf32-m88k.o: elf32-m88k.c elf-bfd.h $(INCDIR)/elf/common.h \
  946.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
  947.   elf32-target.h
  948. elf32-mips.o: elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \
  949.   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
  950.   $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
  951.   $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
  952.   $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \
  953.   elf32-target.h
  954. elf32-ppc.o: elf32-ppc.c $(INCDIR)/bfdlink.h elf-bfd.h \
  955.   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
  956.   $(INCDIR)/elf/ppc.h elf32-target.h
  957. elf32-sparc.o: elf32-sparc.c $(INCDIR)/bfdlink.h elf-bfd.h \
  958.   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
  959.   $(INCDIR)/elf/sparc.h elf32-target.h
  960. elf32.o: elf32.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \
  961.   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
  962.   elfcore.h elflink.h
  963. elflink.o: elflink.c $(INCDIR)/bfdlink.h elf-bfd.h \
  964.   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
  965. hp300hpux.o: hp300hpux.c $(INCDIR)/aout/hp300hpux.h \
  966.   aoutx.h $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
  967.   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
  968.   aout-target.h
  969. som.o: som.c
  970. i386aout.o: i386aout.c libaout.h $(INCDIR)/bfdlink.h \
  971.   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  972.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  973. i386bsd.o: i386bsd.c libaout.h $(INCDIR)/bfdlink.h \
  974.   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  975.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  976. i386freebsd.o: i386freebsd.c freebsd.h libaout.h $(INCDIR)/bfdlink.h \
  977.   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  978.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  979. i386linux.o: i386linux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  980.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
  981.   $(INCDIR)/bfdlink.h aout-target.h
  982. i386lynx.o: i386lynx.c libaout.h $(INCDIR)/bfdlink.h \
  983.   $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
  984.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  985. i386msdos.o: i386msdos.c libaout.h $(INCDIR)/bfdlink.h
  986. i386netbsd.o: i386netbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
  987.   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  988.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  989. i386mach3.o: i386mach3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  990.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
  991.   $(INCDIR)/bfdlink.h aout-target.h
  992. i386os9k.o: i386os9k.c $(INCDIR)/bfdlink.h libaout.h \
  993.   $(INCDIR)/os9k.h
  994. ieee.o: ieee.c $(INCDIR)/ieee.h libieee.h
  995. m68klinux.o: m68klinux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  996.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
  997.   $(INCDIR)/bfdlink.h aout-target.h
  998. m68klynx.o: m68klynx.c libaout.h $(INCDIR)/bfdlink.h \
  999.   $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
  1000.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  1001. m68knetbsd.o: m68knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
  1002.   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  1003.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  1004. m88kmach3.o: m88kmach3.c libaout.h $(INCDIR)/bfdlink.h \
  1005.   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  1006.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  1007. mipsbsd.o: mipsbsd.c libaout.h $(INCDIR)/bfdlink.h \
  1008.   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  1009.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  1010. newsos3.o: newsos3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  1011.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
  1012.   $(INCDIR)/bfdlink.h aout-target.h
  1013. nlm.o: nlm.c libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
  1014.   $(INCDIR)/nlm/external.h
  1015. nlm32-i386.o: nlm32-i386.c $(INCDIR)/nlm/i386-ext.h \
  1016.   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
  1017.   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
  1018. nlm32-sparc.o: nlm32-sparc.c $(INCDIR)/nlm/sparc32-ext.h \
  1019.   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
  1020.   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
  1021. nlm32-ppc.o: nlm32-ppc.c $(INCDIR)/nlm/ppc-ext.h libnlm.h \
  1022.   $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h \
  1023.   nlmswap.h nlm-target.h
  1024. nlm32.o: nlm32.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
  1025.   $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
  1026. ns32knetbsd.o: ns32knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
  1027.   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  1028.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  1029. oasys.o: oasys.c $(INCDIR)/oasys.h liboasys.h
  1030. pc532-mach.o: pc532-mach.c libaout.h $(INCDIR)/bfdlink.h \
  1031.   $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
  1032.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  1033. pe-arm.o: pe-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
  1034.   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
  1035.   $(INCDIR)/bfdlink.h coffcode.h peicode.h
  1036. pei-arm.o: pei-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
  1037.   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
  1038.   $(INCDIR)/bfdlink.h coffcode.h peicode.h
  1039. pe-i386.o: pe-i386.c coff-i386.c $(INCDIR)/coff/i386.h \
  1040.   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
  1041.   $(INCDIR)/bfdlink.h coffcode.h peicode.h
  1042. pei-i386.o: pei-i386.c coff-i386.c $(INCDIR)/coff/i386.h \
  1043.   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
  1044.   $(INCDIR)/bfdlink.h coffcode.h peicode.h
  1045. pe-ppc.o: pe-ppc.c coff-ppc.c $(INCDIR)/coff/powerpc.h \
  1046.   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
  1047.   $(INCDIR)/bfdlink.h coffcode.h peicode.h
  1048. pei-ppc.o: pei-ppc.c coff-ppc.c $(INCDIR)/coff/powerpc.h \
  1049.   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
  1050.   $(INCDIR)/bfdlink.h coffcode.h peicode.h
  1051. ppcboot.o: ppcboot.c
  1052. reloc16.o: reloc16.c $(INCDIR)/bfdlink.h genlink.h \
  1053.   $(INCDIR)/coff/internal.h libcoff.h
  1054. sparclynx.o: sparclynx.c $(INCDIR)/aout/sun4.h libaout.h \
  1055.   $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  1056.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
  1057. sparcnetbsd.o: sparcnetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
  1058.   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  1059.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  1060. sunos.o: sunos.c $(INCDIR)/bfdlink.h libaout.h aoutf1.h \
  1061.   $(INCDIR)/aout/sun4.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  1062.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
  1063. versados.o: versados.c $(INCDIR)/libiberty.h
  1064. xcofflink.o: xcofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
  1065.   libcoff.h
  1066. aout64.o: aout64.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
  1067.   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
  1068.   $(INCDIR)/aout/ar.h
  1069. coff-alpha.o: coff-alpha.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
  1070.   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
  1071.   $(INCDIR)/coff/alpha.h $(INCDIR)/aout/ar.h libcoff.h \
  1072.   libecoff.h coffswap.h ecoffswap.h
  1073. demo64.o: demo64.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
  1074.   $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  1075.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
  1076. elf64-alpha.o: elf64-alpha.c elf-bfd.h $(INCDIR)/elf/common.h \
  1077.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
  1078.   $(INCDIR)/elf/alpha.h $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \
  1079.   $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/alpha.h \
  1080.   $(INCDIR)/aout/ar.h libcoff.h libecoff.h ecoffswap.h \
  1081.   elf64-target.h
  1082. elf64-gen.o: elf64-gen.c elf-bfd.h $(INCDIR)/elf/common.h \
  1083.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
  1084.   elf64-target.h
  1085. elf64-mips.o: elf64-mips.c $(INCDIR)/bfdlink.h genlink.h \
  1086.   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
  1087.   $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
  1088.   $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
  1089.   $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/alpha.h ecoffswap.h \
  1090.   elf64-target.h
  1091. elf64-sparc.o: elf64-sparc.c elf-bfd.h $(INCDIR)/elf/common.h \
  1092.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
  1093.   $(INCDIR)/elf/sparc.h elf64-target.h
  1094. elf64.o: elf64.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \
  1095.   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
  1096.   elfcore.h elflink.h
  1097. evax-alpha.o: evax-alpha.c $(INCDIR)/bfdlink.h evax.h
  1098. evax-egsd.o: evax-egsd.c $(INCDIR)/bfdlink.h evax.h
  1099. evax-etir.o: evax-etir.c $(INCDIR)/bfdlink.h evax.h
  1100. evax-emh.o: evax-emh.c $(INCDIR)/bfdlink.h evax.h
  1101. evax-misc.o: evax-misc.c $(INCDIR)/bfdlink.h evax.h
  1102. nlm32-alpha.o: nlm32-alpha.c $(INCDIR)/nlm/alpha-ext.h \
  1103.   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
  1104.   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
  1105. nlm64.o: nlm64.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
  1106.   $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
  1107. aix386-core.o: aix386-core.c $(INCDIR)/coff/i386.h \
  1108.   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h
  1109. hpux-core.o: hpux-core.c
  1110. irix-core.o: irix-core.c
  1111. lynx-core.o: lynx-core.c
  1112. osf-core.o: osf-core.c
  1113. trad-core.o: trad-core.c libaout.h $(INCDIR)/bfdlink.h
  1114. cisco-core.o: cisco-core.c
  1115. i386dynix.o: i386dynix.c $(INCDIR)/aout/dynix3.h aoutx.h \
  1116.   $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
  1117.   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
  1118.   aout-target.h
  1119. hp300bsd.o: hp300bsd.c libaout.h $(INCDIR)/bfdlink.h \
  1120.   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  1121.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  1122. # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
  1123.